﻿using FreeSql.DataAnnotations;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace shop.Model
{
    /// <summary> 店铺返点 </summary>
    public class ShopReward
    {
        [Column(IsIdentity = true, IsPrimary =true)]
        public int id { set;get; }


        [Column(StringLength =100)]
        public string shop {  set; get; }

        /// <summary> 返点 </summary>
        [Column(Precision =18, Scale =4)]
        public decimal reward { set; get; }

        public bool isdel { set; get; }

        /// <summary> 制单人 </summary>
        [Column(StringLength =30)]
        public string FUser { set; get; }

        /// <summary> 时间 </summary>
        public DateTime FTime { set; get; }



        public ShopReward Clone()
        {
            return this.MemberwiseClone() as ShopReward;
        }
    }
}
